if(typeof(require.config)!='function'){
	window.location.reload();
}

require.config({
	baseUrl: '../core/resource/js',
	paths: {
		'jquery': './jquery-1.11.1.min',
		'jquery.ui': './jquery-ui.min',
		'jquery.caret': './jquery.caret',
		'jquery.jplayer': '../components/jplayer/jquery.jplayer.min',
		'jquery.zclip': '../components/zclip/jquery.zclip.min',
		'bootstrap': './bootstrap.min',
		'bootstrap.switch': '../components/switch/bootstrap-switch.min',
		'angular': './angular.min',
		'angular.sanitize': './angular-sanitize.min',
		'underscore': './underscore-min',
		'chart': './chart.min',
		'clipboard':'./clipboard.min',
		'moment': './moment',
		'filestyle': './bootstrap-filestyle.min',
		'datetimepicker': '../components/datetimepicker/jquery.datetimepicker',
		'daterangepicker': '../components/daterangepicker/daterangepicker',
		'colorpicker': '../components/colorpicker/spectrum',
		'map': 'https://api.map.baidu.com/getscript?v=2.0&ak=w3fWOg3ddn8CFXrFAAkGtdNg5Qy8oBSR&services=&t=20201001105706',
		'qqmap':'https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min',
		'editor': '../components/tinymce/tinymce.min',
		'kindeditor':'../components/kindeditor/lang/zh_CN',
		'kindeditor.main':'../components/kindeditor/kindeditor-min',
		'css': './css.min',
		'webuploader' : '../components/webuploader/webuploader.min',
		'fileUploader' : '../components/fileuploader/fileuploader.min',
		'json2' : './json2',
		'wapeditor' : './wapeditor',
		'jquery.wookmark': './jquery.wookmark.min',
		'validator': './bootstrapValidator.min',
		'select2' : '../components/select2/zh-CN',
		'clockpicker': '../components/clockpicker/clockpicker.min',
		'jquery.qrcode': './jquery.qrcode.min',
		'raty': './raty.min',
		'district' : './district',
		'hammer': './hammer.min',
		//'echarts': './echarts.all',
		'echarts': './echarts.min',
		'swiper': '../components/swiper/swiper.min',
		'mpmansory': './mp.mansory.min',
		'jquery.contextMenu': './jquery.contextMenu',
		'JsBarcode':'./JsBarcode.all.min',
		"videojs":"../components/videojs/video.min",
		'bootstrap.select': '../components/bootstrap/bootstrap-select.min',
		"mui.datepicker": '../components/datepicker/mui.picker.all',
        "mui.districtpicker": '../components/districtpicker/mui.city.data-3',
	},
	shim:{
		
		'jquery.ui': {
			exports: "$",
			deps: ['css!../components/jquery-ui/jquery-ui.css']
		},
		'jquery.caret': {
			exports: "$",
			deps: ['jquery']
		},
		'jquery.jplayer': {
			exports: "$",
			deps: ['jquery']
		},
		'bootstrap': {
			exports: "$",
			deps: ['jquery']
		},
		'jquery.contextMenu': {
			//exports: "$",
			deps: [ 'css!../css/jquery.contextMenu.css']
		},
		'bootstrap.switch': {
			exports: "$",
			deps: ['bootstrap', 'css!../components/switch/bootstrap-switch.min.css']
		},
		'angular': {
			exports: 'angular',
			
		},
		'html2canvas': {
			exports: 'html2canvas',
			
		},
		'angular.sanitize': {
			exports: 'angular',
			deps: ['angular']
		},
		'emotion': {
			deps: ['jquery']
		},
		'chart': {
			exports: 'Chart'
		},
		'filestyle': {
			exports: '$',
			deps: ['bootstrap']
		},
		'daterangepicker': {
			exports: '$',
			deps: ['bootstrap', 'moment', 'css!../components/daterangepicker/daterangepicker.css']
		},
		'datetimepicker' : {
			exports : '$',
			deps: ['jquery', 'css!../components/datetimepicker/jquery.datetimepicker.css']
		},
		'kindeditor': {
			deps: ['kindeditor.main', 'css!../components/kindeditor/themes/default/default.css']
		},
		'colorpicker': {
			exports: '$',
			deps: ['css!../components/colorpicker/spectrum.css']
		},
		'map': {
			exports: 'BMap'
		},
		'qqmap': {
			exports: 'qq'
		},
		'json2': {
			exports: 'JSON'
		},
		'fileUploader': {
			deps: ['webuploader', 'css!../components/webuploader/webuploader.css', 'css!../components/webuploader/style.css']
		},
		'wapeditor' : {
			exports : 'angular',
			deps: ['angular.sanitize', 'jquery.ui', 'underscore', 'fileUploader', 'json2', 'datetimepicker']
		},
		'jquery.wookmark': {
			exports: "$",
			deps: ['jquery']
		},
		'validator': {
			exports: "$",
			deps: ['bootstrap']
		},
		'select2': {
			deps: ['css!../components/select2/select2.min.css', './resource/components/select2/select2.min.js']
		},
		'clockpicker': {
			exports: "$",
			deps: ['css!../components/clockpicker/clockpicker.min.css', 'bootstrap']
		},
		'jquery.qrcode': {
			exports: "$",
			deps: ['jquery']
		},
		'district' : {
			exports : "$",
			deps : ['jquery']
		},
		'swiper': {
			exports: "Swiper",
			deps: ['css!../components/swiper/swiper.min.css']
		},
		'hammer' : {
			exports : 'hammer'
		},
		'JsBarcode': {
			exports: 'JsBarcode',
		},
		"videojs": {
			deps: ['css!../components/videojs/video.min']
		},
		'bootstrap.select': {
			exports: "$",
			deps: ['bootstrap', 'css!../components/bootstrap/bootstrap-select.min.css']
		},
		"mui.datepicker": {
            deps: ["mui", "css!../components/datepicker/mui.picker.all.css"],
            exports: "mui.DtPicker"
        },
        "mui.districtpicker": {
            deps: ["mui", "mui.datepicker"],
            exports: "cityData3"
        },
	}
});
window.js_config_loaded=true;